package ru.nsu.fit.client.core;

import ru.nsu.fit.client.core.response.KernelResponse;

import java.util.List;

public interface IClientKernel {
    int registration(String login, String password);
    int authentication(String login, String password);

    int sendQuestion(String text, List<String> cases);
    int sendAnswer(int questionId, int caseId);

    int getUserStatistics();

    int getNextQuestion();
    int getQuestions(int count, int offset);
    int getQuestionsStats(List<Integer> ids);

    KernelResponse getResponse(int id);
}
